Smush\Core\Modules\Product_Analytics D

Total Complexity 139
Dependencies 12
Dependents 1
Total lines 838
Lines of code 654
Logical lines of code 258
Comment lines 55
Methods 60
Properties 6

Methods 60

Method Rating Maintainability Complexity Lines of code
track_toggle_local_webp_fallback()
S
50 7 28
get_webp_status_notice()
S
55 7 21
get_bulk_properties()
S
52 6 24
get_scan_properties()
S
48 4 34
maybe_track_cdn_update()
S
58 5 16
maybe_track_integrations_toggle()
S
51 4 29
get_deactivation_location()
S
60 5 13
hook_actions()
S
45 3 41
remove_unchanged_settings()
S
62 5 11
identify_referrer()
S
54 4 20
get_webp_referer()
S
63 4 11
get_super_properties()
S
55 3 19
track_opt_toggle()
S
59 3 14
get_background_process_status_properties()
S
61 3 13
get_active_plugins()
S
64 3 11
track_webp_reconfig()
S
59 2 16
maybe_track_feature_toggle()
S
63 3 10
get_unique_id()
S
65 3 9
get_device()
S
67 3 9
intercept_settings_update()
S
64 3 10
track_integrations_saved()
S
65 3 10
track_webp_status_changed()
S
61 2 14
get_current_lossy_level_label()
S
62 2 12
get_local_webp_properties()
S
63 2 11
intercept_reset()
S
64 2 11
get_plugin_name()
S
74 2 4
track_background_scan_start()
S
71 2 6
get_token()
S
72 2 6
get_referer_page()
S
69 2 6
track_config_applied()
S
68 2 7
get_scanner_slice_size()
S
71 2 6
is_mobile()
S
68 2 7
is_tablet()
S
68 2 7
prepare_mixpanel_instance()
S
64 2 9
track_feature_toggle()
S
64 2 10
get_active_and_valid_plugin_files()
S
72 2 5
get_mixpanel()
S
72 2 6
convert_to_megabytes()
S
68 2 7
track_webp_method_changed()
S
62 1 13
track_webp_after_deleting_all_webp_files()
S
62 1 13
track_background_scan_process_cancellation()
S
62 1 13
get_bulk_smush_stats()
S
61 1 12
track_background_scan_process_death()
S
63 1 12
track_plugin_activation()
S
67 1 9
track_plugin_deactivation()
S
65 1 10
__construct()
S
71 1 6
track_background_scan_end()
S
65 1 10
_track_background_scan_start()
S
65 1 10
track_background_scan_revival()
S
80 1 3
record_scan_death()
S
80 1 3
track_bulk_smush_completed()
S
79 1 3
track_bulk_smush_start()
S
79 1 3
track_directory_smush()
S
81 1 3
cdn_property_labels()
S
67 1 8
normalize_url()
S
74 1 4
track_lazy_load_feature_toggle()
S
79 1 3
track_cdn_feature_toggle()
S
79 1 3
track_webp_mod_feature_toggle()
S
79 1 3
track_detection_feature_toggle()
S
79 1 3
has_valid_domain()
S
75 1 4